package com.itheima.day10;

import java.io.*;

public class Prictice1 {
    public static void main(String[] args) {
     try(FileInputStream fis = new FileInputStream("day10io-app2/file/aa/AAA");
        FileOutputStream fos = new FileOutputStream("day10io-app2/aa.txt");) {

         int b ;
         while ((b = fis.read()) != -1) {
             fos.write(b);
         }
        }  catch (IOException e) {
         e.printStackTrace();
     }
    }
}
